package com.example.basics.examples;

public class InterfaceExampleImpl implements InterfaceExample{

    @Override
    public void func1() {
        System.out.println("func1");
    }

    public static void main(String[] args) {
        // InterfaceExample ie1 = new InterfaceExample(); // 'InterfaceExample' is abstract; cannot be instantiated
        InterfaceExample ie2 = new InterfaceExampleImpl();
        ie2.func1();
        ie2.func2();
        ie2.func3();
        System.out.println(InterfaceExample.z);
    }

}
